/**
 * 
 */
package org.cuatrovientos.vehiculo;

/**
 * @author teodor_mivovan
 *
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Car myCar= new Car("Ferrarri","98765AS");
        Car otherCar= new Car("Batmovil","66666BB");
        Car anotherCar= new Car("Devil","00666BT");
        Car badassCar = new Car("Leeroy Jenkins", "99999MS");
        
        Track myTrack = new Track("Mortal Race", 1000);
        Race myRace = new Race("Lemans", myTrack);
        
        myRace.insertCar(myCar);
        myRace.insertCar(otherCar);
        myRace.insertCar(anotherCar);
        myRace.insertCar(badassCar);

        System.out.println("The winner in " + myRace.getName() + " " + myTrack.getName() +  " is :" + myRace.Run().toString());

	}

}
